#include "Mystdio.h"
#include <string.h>

#define filename "log.txt"

int main()
{
    _FILE* fp = _fopen(filename, "w");


    const char* msg = "hello linux\n";
    _fwrite(fp, msg, strlen(msg));

    _fclose(fp);
    return 0;
}
